Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix KeyError: storageFilename by deleting mediaItems from collection if unable to download image #36

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

mtalcott
Copy link
Owner

Addresses #23 and #31 (comment).

Displaying and processing mediaItems requires we have an actual image file to work with (referenced by storageFilename). If we are unable to obtain an image for a particular mediaItem, we'll delete the mediaItem from the collection (rather than adding logic to handle this case everywhere else).

@mtalcott mtalcott merged commit 509edc2 into main Jan 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant